import { createStore } from 'vuex';
import user from './modules/user';
import task from './modules/task'
import * as getters from './getters';
import * as actions from './actions';

/**
 * Vuex Store对象
 * @type {object}
 */
export default createStore({
  state: {},
  getters,
  actions,
  modules: {
    user,
    task
  },
});
